
_g_sys_reg:
mrs x1, SCTLR_EL1
msr SCTLR_EL1, x1
mrs x1, CPACR_EL1
msr CPACR_EL1, x1
mrs x1, SCTLR_EL3
msr SCTLR_EL3, x1
mrs x1, SCTLR_EL2
msr SCTLR_EL2, x1
mrs x1, FAR_EL1
msr FAR_EL1, x1
mrs x1, FAR_EL2
msr FAR_EL2, x1
mrs x1, FAR_EL3
msr FAR_EL3, x1
mrs x1, ACTLR_EL3
msr ACTLR_EL3, x1
mrs x1, ACTLR_EL2
msr ACTLR_EL2, x1
mrs x1, ACTLR_EL1
msr ACTLR_EL1, x1
mrs x1, TCR_EL3
msr TCR_EL3, x1
mrs x1, VMPIDR_EL2
msr VMPIDR_EL2, x1
mrs x1, SP_EL2
msr SP_EL2, x1
mrs x1, SP_EL1
msr SP_EL1, x1
mrs x1, SP_EL0
msr SP_EL0, x1
mrs x1, VBAR_EL1
msr VBAR_EL1, x1
mrs x1, VBAR_EL3
msr VBAR_EL3, x1
mrs x1, VTTBR_EL2
msr VTTBR_EL2, x1
mrs x1, HSTR_EL2
msr HSTR_EL2, x1
mrs x1, AMAIR_EL3
msr AMAIR_EL3, x1
mrs x1, AMAIR_EL2
msr AMAIR_EL2, x1
mrs x1, AMAIR_EL1
msr AMAIR_EL1, x1
mrs x1, TPIDRRO_EL0
msr TPIDRRO_EL0, x1
mrs x1, AFSR0_EL3
msr AFSR0_EL3, x1
mrs x1, AFSR0_EL2
msr AFSR0_EL2, x1
mrs x1, AFSR0_EL1
msr AFSR0_EL1, x1
mrs x1, TCR_EL1
msr TCR_EL1, x1
mrs x1, CONTEXTIDR_EL1
msr CONTEXTIDR_EL1, x1
mrs x1, HPFAR_EL2
msr HPFAR_EL2, x1
mrs x1, SCR_EL3
msr SCR_EL3, x1
mrs x1, ELR_EL1
msr ELR_EL1, x1
mrs x1, ELR_EL2
msr ELR_EL2, x1
mrs x1, ELR_EL3
msr ELR_EL3, x1
mrs x1, TCR_EL2
msr TCR_EL2, x1
mrs x1, SPSR_EL2
msr SPSR_EL2, x1
mrs x1, SPSR_EL3
msr SPSR_EL3, x1
mrs x1, SPSR_EL1
msr SPSR_EL1, x1
mrs x1, VSESR_EL2
msr VSESR_EL2, x1
mrs x1, ESR_EL1
msr ESR_EL1, x1
mrs x1, ESR_EL3
msr ESR_EL3, x1
mrs x1, ESR_EL2
msr ESR_EL2, x1
mrs x1, VBAR_EL2
msr VBAR_EL2, x1
mrs x1, AFSR1_EL2
msr AFSR1_EL2, x1
mrs x1, AFSR1_EL3
msr AFSR1_EL3, x1
mrs x1, TTBR0_EL3
msr TTBR0_EL3, x1
mrs x1, AFSR1_EL1
msr AFSR1_EL1, x1
mrs x1, VTCR_EL2
msr VTCR_EL2, x1
mrs x1, TPIDR_EL2
msr TPIDR_EL2, x1
mrs x1, TPIDR_EL3
msr TPIDR_EL3, x1
mrs x1, TPIDR_EL0
msr TPIDR_EL0, x1
mrs x1, TPIDR_EL1
msr TPIDR_EL1, x1
mrs x1, HACR_EL2
msr HACR_EL2, x1
mrs x1, MAIR_EL3
msr MAIR_EL3, x1
mrs x1, CPTR_EL3
msr CPTR_EL3, x1
mrs x1, CPTR_EL2
msr CPTR_EL2, x1
mrs x1, MAIR_EL2
msr MAIR_EL2, x1
mrs x1, MAIR_EL1
msr MAIR_EL1, x1
mrs x1, VPIDR_EL2
msr VPIDR_EL2, x1
mrs x1, TTBR0_EL2
msr TTBR0_EL2, x1
mrs x1, TTBR1_EL1
msr TTBR1_EL1, x1
mrs x1, TTBR0_EL1
msr TTBR0_EL1, x1
mrs x1, ZCR_EL2
msr ZCR_EL2, x1
mrs x1, ZCR_EL3
msr ZCR_EL3, x1
mrs x1, HCR_EL2
msr HCR_EL2, x1
mrs x1, ZCR_EL1
msr ZCR_EL1, x1